package com.luck.pictureselector;

import android.app.Activity;
import android.app.Application;
import android.os.Bundle;
import android.util.Log;

import com.squareup.leakcanary.LeakCanary;
import com.xiaohe.www.lib.app.LibActivityLifecycleCallbacks;
import com.xiaohe.www.lib.app.SApplication;


/**
 * author：luck
 * project：PictureSelector
 * package：com.luck.pictureselector
 * email：893855882@qq.com
 * data：2017/4/29
 */

public class App extends SApplication {
    @Override
    protected LibActivityLifecycleCallbacks.IActivityLifecycleCallbacks getActivityLibLifecycleCallbacks() {
        return null;
    }

    @Override
    protected void initStaticConfig() {

    }

    @Override
    protected void init() {
        if (LeakCanary.isInAnalyzerProcess(this)) {
            // This process is dedicated to LeakCanary for heap analysis.
            // You should not init your app in this process.
            return;
        }
        LeakCanary.install(this);
    }
}
